package com.sws.reservation.domain;

import java.time.LocalDateTime;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.sws.common.annotation.Excel;
import com.sws.common.core.domain.BaseEntity;

/**
 * 用户预约服务对象 ry_reservation
 * 
 * @author cx
 * @date 2025-06-30
 */
public class RyReservation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long id;

    /** 客户设备端PID */
    @Excel(name = "客户设备端PID")
    private String customerPid;

    /** 客户姓名 */
    @Excel(name = "客户姓名")
    private String customerName;

    /** 客户电话号码 */
    @Excel(name = "客户电话号码")
    private String customerPhone;

    /** 预约服务内容 */
    @Excel(name = "预约服务内容")
    private String serviceContent;

    /** 服务人员PID */
    @Excel(name = "服务人员PID")
    private String staffPid;

    /** 服务人员姓名 */
    @Excel(name = "服务人员姓名")
    private String staffName;

    /** 服务房间号 */
    @Excel(name = "服务房间号")
    private String roomNo;

    /** 预约到店时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "预约到店时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime appointmentTime;

    /** 预约状态 */
    @Excel(name = "预约状态")
    private Integer status;

    /** 删除标志(0存在,1删除) */
    private Long delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setCustomerPid(String customerPid) 
    {
        this.customerPid = customerPid;
    }

    public String getCustomerPid() 
    {
        return customerPid;
    }

    public void setCustomerName(String customerName) 
    {
        this.customerName = customerName;
    }

    public String getCustomerName() 
    {
        return customerName;
    }

    public void setCustomerPhone(String customerPhone) 
    {
        this.customerPhone = customerPhone;
    }

    public String getCustomerPhone() 
    {
        return customerPhone;
    }

    public void setServiceContent(String serviceContent) 
    {
        this.serviceContent = serviceContent;
    }

    public String getServiceContent() 
    {
        return serviceContent;
    }

    public void setStaffPid(String staffPid) 
    {
        this.staffPid = staffPid;
    }

    public String getStaffPid() 
    {
        return staffPid;
    }

    public void setStaffName(String staffName) 
    {
        this.staffName = staffName;
    }

    public String getStaffName() 
    {
        return staffName;
    }

    public void setRoomNo(String roomNo) 
    {
        this.roomNo = roomNo;
    }

    public String getRoomNo() 
    {
        return roomNo;
    }

    public void setAppointmentTime(LocalDateTime appointmentTime)
    {
        this.appointmentTime = appointmentTime;
    }

    public LocalDateTime getAppointmentTime()
    {
        return appointmentTime;
    }

    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    public void setDelFlag(Long delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Long getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("customerPid", getCustomerPid())
            .append("customerName", getCustomerName())
            .append("customerPhone", getCustomerPhone())
            .append("serviceContent", getServiceContent())
            .append("staffPid", getStaffPid())
            .append("staffName", getStaffName())
            .append("roomNo", getRoomNo())
            .append("appointmentTime", getAppointmentTime())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
